<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    
    <script>
        //创建Symbol;
        let s = Symbol();
        // console.log(s,typeof s);
        let s2 = Symbol('李欣雨');
        let s3 = Symbol('李欣雨');
        //Symbol.for 创建;
        let s4 = Symbol.for('李欣雨');
        console.log(s4, typeof s4);

        //不能与其他数据进行运算 自己也不行;
    </script>
</body>
</html>